import axios from '../utils/axios';
import {api} from '@/config/api'


//获取公告列表
export const getNoticeMsgApi = (data?:any)=>{
  return axios.post(api.getNoticeMsg,data)
}
//创建
export const createNoticeMsgApi = (data?:any)=>{
  return axios.post(api.createNoticeMsg,data)
}
//编辑
export const updateNoticeMsgApi = (data?:any)=>{
  return axios.post(api.updateNoticeMsg,data)
}
//删除
export const consoleDelMsgApi = (data?:any)=>{
  return axios.post(api.consoleDelMsg,data)
}



